-
Home
-
Tiered Pricing Table for WooCommerce
-
3.0.0
-
Code
-
Classes
- PriceManager
Total Complexity |
54 |
Dependencies |
0 |
Dependents |
9 |
Total lines |
338 |
Lines of code |
174 |
Logical lines of code |
86 |
Comment lines |
104 |
Methods |
14 |
Properties |
0 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getPriceByRules() |
A |
47 |
10 |
38 |
getPriceRules() |
A |
50 |
8 |
31 |
getProductQtyMin() |
S |
55 |
5 |
20 |
updatePercentagePriceRules() |
S |
63 |
6 |
9 |
getPriceWithTaxes() |
S |
56 |
4 |
19 |
updateFixedPriceRules() |
S |
63 |
5 |
9 |
getPriceByPercentDiscount() |
S |
68 |
3 |
7 |
variationHasNoOwnRules() |
S |
66 |
3 |
8 |
getPricingType() |
S |
64 |
2 |
10 |
updatePriceRulesType() |
S |
72 |
2 |
5 |
updateProductQtyMin() |
S |
70 |
2 |
6 |
calculateDiscount() |
S |
70 |
2 |
6 |
getFixedPriceRules() |
S |
78 |
1 |
3 |
getPercentagePriceRules() |
S |
78 |
1 |
3 |